<?php defined('RUN_KATANA') or die('Restricted access'); ?>
<?php 
if(is_object($ad))
{
?>
<article class="prospect" itemscope itemtype="http://schema.org/Product">
<!--[if lt IE 9]><div class="prospect"><![endif]-->
	<div class="prospect-padding row-fluid row">
		<div class="prospect-image span5 col-md-5 w40"><?php require($adc->getViewPath().'elements/Image.php'); ?></div>
		<?php if($adc->getViewObject() == 'AdGallery'): ?><div class="clear"></div><?php endif; ?>
		<div class="info span7 col-md-7 w60">
			<?php require($adc->getViewPath().'elements/Title.php'); ?>
			<div class="row-fluid row">
                <div class="pull-left span4 col-md-4 w3"><?php require($adc->getViewPath().'elements/Year.php'); ?></div>
                <div class="pull-left span4 col-md-4 w3"><?php require($adc->getViewPath().'elements/LengthUsed.php'); ?></div>
                <?php if($adc->getViewObject() != 'AdLatest'): ?>
                    <div class="pull-left span4 col-md-4 w3"><?php require($adc->getViewPath().'elements/Price.php'); ?></div>
                <?php endif; ?>
            </div>
			<div class="engine-info row-fluid row"><?php require($adc->getViewPath().'elements/EngineInfo.php'); ?></div>
			<div class="cat-info"><?php require($adc->getViewPath().'elements/CatInfo.php'); ?></div>
			<div class="location-info"><?php require($adc->getViewPath().'elements/LocationInfo.php'); ?></div>
			<?php require($adc->getViewPath().'elements/Description.php'); ?>
			<?php 
			if($com->getComId() == 11)
			{ require($adc->getViewPath().'elements/Edit.php'); }
			?>
		</div><div class="clear"></div>
	</div>
<!--[if lt IE 9]></div><![endif]-->
</article>
<?php
}
?>